#!/usr/bin/env bash

set -x
set -e

for branch in $(git branch --merged | grep -v master)
do
    git branch -d "$branch"
done

git remote prune origin
